package gam.t1.appraisal2.dinv.sys;

import gam.t1.appraisal2.dinv.AppraisalOption;
import gam.t1.appraisal2.dinv.DataInventory;
import gam.t1.appraisal2.dinv.view.impl.ClickBlockCollections;

import java.util.function.Predicate;

public class CurrentSystem<T extends DataInventory> extends ClickBlockCollections<CurrentSystem<T>> {
    public CurrentSystem(DataInventory handler, Predicate<CurrentSystem<T>> correct,Predicate<CurrentSystem<T>> cancel) {
        super(handler);
        register(16,correct,cV -> AppraisalOption.Correct);
        register(43,cancel,cV -> AppraisalOption.Cancel);
    }
}
